package com.gitee.feizns.itrip.personal.biz.entity.ao;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author feizns
 * @since 2019/1/9 0009
 */
@Data
public class ForAcceptCommentAdd {

    /**
     * 酒店编号
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.hotelId}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.hotelId}")
    private Long hotelId;

    /**
     * 订单编号
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.orderId}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.orderId}")
    private Long orderId;

    /**
     * 产品编号
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.productId}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptCommentAdd.productId}")
    private Long productId;

    /**
     * 产品类型
     */
    private Integer productType;

    /**
     * 是否有图片
     */
    private Integer isHavingImg;

    /**
     * 图片列表
     */
    private Image[] itripImages;

    /**
     * 位置评分
     */
    private Integer positionScore;

    /**
     * 特色评分
     */
    private Integer facilitiesScore;

    /**
     * 卫生评分
     */
    private Integer hygieneScore;

    /**
     * 服务评分
     */
    private Integer serviceScore;

    /**
     * 是否满意
     */
    private Integer isOk;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 出游类型
     */
    private Long tripMode;

    @Data
    public static class Image {

        /**
         * 图片路径
         */
        private String imgUrl;

    }

}
